﻿<UserControl x:Class="RiaLibrary.Themes.Default.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="440">

    <Canvas x:Name="LayoutRoot">
        <StackPanel Canvas.Left="20" Canvas.Top="20">
            <TextBlock FontSize="18" FontWeight="Bold" Foreground="#333333">Default Style for Silverlight</TextBlock>
            <TextBlock FontSize="10" Margin="0,0,0,20" Foreground="#666666">Brought to you by RIA Library Team</TextBlock>
            <!-- UserName -->
            <StackPanel Orientation="Horizontal">
                <sdk:Label Target="{Binding ElementName=UserNameTextBox}" Margin="0,0,5,5" Content="USERNAME" Width="120" />
                <TextBox x:Name="UserNameTextBox" Margin="0,0,5,5" Width="250" IsReadOnly="True" Text="ReadOnly" />
            </StackPanel>
            <!-- DisplayName -->
            <StackPanel Orientation="Horizontal">
                <sdk:Label Target="{Binding ElementName=DisplayNameTextBox}" Margin="0,0,5,5" Content="DISPLAY NAME" Width="120" />
                <TextBox x:Name="DisplayNameTextBox" Margin="0,0,5,5" Width="250" IsEnabled="False" Text="Disabled" />
            </StackPanel>
            <!-- FullName -->
            <StackPanel Orientation="Horizontal">
                <sdk:Label Target="{Binding ElementName=FirstNameTextBox}" Margin="0,0,5,5" Content="YOUR FULL NAME" Width="120" />
                <TextBox x:Name="FirstNameTextBox" Margin="0,0,5,5" Width="120" />
                <TextBox x:Name="LastNameTextBox" Margin="0,0,5,5" Width="125" />
            </StackPanel>
            <!-- Email -->
            <StackPanel Orientation="Horizontal">
                <sdk:Label Target="{Binding ElementName=EmailTextBox}" Margin="0,0,5,5" Content="EMAIL ADDRESS" Width="120" />
                <TextBox x:Name="EmailTextBox" Margin="0,0,5,5" Width="250" />
            </StackPanel>
            <!-- Occupation -->
            <StackPanel Orientation="Horizontal">
                <sdk:Label Target="{Binding ElementName=OccupationComboBox}" Margin="0,0,5,5" Content="OCCUPATION" Width="120" />
                <ComboBox x:Name="OccupationComboBox" Margin="0,0,5,5" Width="250">
                    <ComboBox.Items>
                        <ComboBoxItem Content="UX Designer" IsSelected="True" />
                        <ComboBoxItem Content="Software Engineer" />
                        <ComboBoxItem Content="Test Engineer" />
                    </ComboBox.Items>
                </ComboBox>
            </StackPanel>
            <!-- Buttons -->
            <StackPanel Orientation="Horizontal">
                <Button Margin="125,0,5,5">Save</Button>
                <Button Margin="0,0,5,5">Cancel</Button>
                <Button Margin="0,0,5,5" IsEnabled="False">Reset</Button>
            </StackPanel>
        </StackPanel>
    </Canvas>
</UserControl>
